-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local w3emc module #1070
base: main
Are you sure you want to change the base?
Local w3emc module #1070
Conversation
82575ff
to
9d17300
Compare
@scrasmussen I think that we need to target ufs-community:ufs/dev first. Can you rebase it off of ufs/dev and put a PR into there? Also, can you try to move the necessary SP code (splat routine) into sfcsub.f? I realize that we can probably get away with just removing the dependency on the SCM side for its own sake (since we're not compiling sfcsub.f anyway), but there was general agreement to get rid of the SP dependency at the same time as the other NCEPlibs. |
…ls to exterior w3emc dependency with local subroutines from w3emc module. Removing sp dependency.
UFS still needs to link in w3emc module for other functions it needs. SP dependency removed, added local module in sfcsub.F to build needed splat routine.
@grantfirl Building with A slightly more hacky solution is to link the w3emc in I'll start preparing that PR. |
@dustinswales the fact that the external w3emc routines aren't in a module that is easy to grep makes them harder to track down, that is unless you're compiling with the breaking host model. For example when compiling UFS we have
Then it is adding the dependencies of the |
I understand now. Thanks |
@scrasmussen Now that I understand, sorry :), I don't think this is hacky. @grantfirl @ligiabernardet @lulinxue |
The external w3emc dependency is added as a local module that is built by the project. The w3emc has been modified to use generic interfaces to handle different input types (for example
real32
real64
) to functions with the same name. The appropriate module use statements have been added.